﻿namespace Demo.SharePoint.WebParts.StockQuote
{
    public class StockQuote
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="StockQuote"/> class.
        /// </summary>
        /// <param name="stockSymbol">The stock symbol.</param>
        public StockQuote(string stockSymbol)
        {
            Symbol = stockSymbol;
        }

        #region Properties
        /// <summary>
        /// Gets or sets the symbol.
        /// </summary>
        /// <value>The symbol.</value>
        public string Symbol { get; set; }

        /// <summary>
        /// Gets or sets the last time.
        /// </summary>
        /// <value>The last time.</value>
        public string LastTime { get; set; }

        /// <summary>
        /// Gets or sets the currency.
        /// </summary>
        /// <value>The currency.</value>
        public string Currency { get; set; }

        /// <summary>
        /// Gets or sets the exchange.
        /// </summary>
        /// <value>The exchange.</value>
        public string Exchange { get; set; }

        /// <summary>
        /// Gets or sets the type.
        /// </summary>
        /// <value>The type.</value>
        public string Type { get; set; }

        /// <summary>
        /// Gets or sets the name of the company.
        /// </summary>
        /// <value>The name of the company.</value>
        public string CompanyName { get; set; }

        /// <summary>
        /// Gets or sets the last.
        /// </summary>
        /// <value>The last.</value>
        public string Last { get; set; }

        /// <summary>
        /// Gets or sets the last size.
        /// </summary>
        /// <value>The last size.</value>
        public string LastSize { get; set; }

        /// <summary>
        /// Gets or sets the ask.
        /// </summary>
        /// <value>The ask.</value>
        public string Ask { get; set; }

        /// <summary>
        /// Gets or sets the bid.
        /// </summary>
        /// <value>The bid.</value>
        public string Bid { get; set; }

        /// <summary>
        /// Gets or sets the open.
        /// </summary>
        /// <value>The open.</value>
        public string Open { get; set; }

        /// <summary>
        /// Gets or sets the close.
        /// </summary>
        /// <value>The close.</value>
        public string Close { get; set; }

        /// <summary>
        /// Gets or sets the high.
        /// </summary>
        /// <value>The high.</value>
        public string High { get; set; }

        /// <summary>
        /// Gets or sets the low.
        /// </summary>
        /// <value>The low.</value>
        public string Low { get; set; }

        /// <summary>
        /// Gets or sets the volume.
        /// </summary>
        /// <value>The volume.</value>
        public string Volume { get; set; }

        /// <summary>
        /// Gets or sets the change.
        /// </summary>
        /// <value>The change.</value>
        public string Change { get; set; }

        /// <summary>
        /// Gets or sets the percent change.
        /// </summary>
        /// <value>The percent change.</value>
        public string PercentChange { get; set; }

        /// <summary>
        /// Gets or sets the EPS.
        /// </summary>
        /// <value>The EPS.</value>
        public string EPS { get; set; }

        /// <summary>
        /// Gets or sets the PE.
        /// </summary>
        /// <value>The PE.</value>
        public string PE { get; set; }

        /// <summary>
        /// Gets or sets the shares out.
        /// </summary>
        /// <value>The shares out.</value>
        public string SharesOut { get; set; }
        #endregion
    }
}